<?php
class Zendvn_System_Translate {
	public function __construct($arrParam,$options=null){
		$ssLanguage = new Zend_Session_Namespace('lang');
		$filename = LANGUAGE_PATH .'/'.$ssLanguage->lang. '/validate.tmx';
		$options = array('adapter'=>'Tmx',
						'content'=>$filename,
						'locale'=>$ssLanguage->lang
						);
		$translate = new Zend_Translate($options);
		Zend_Registry::set('Zend_Translate', $translate);
	}
}